package com.jlkf.dao;

import java.util.List;
import java.util.Map;


import com.jlkf.pojo.DriverAccessory;


public interface DriverAccessoryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DriverAccessory record);

    int insertSelective(DriverAccessory record);

    DriverAccessory selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DriverAccessory record);

    int updateByPrimaryKey(DriverAccessory record);

    //查询我的车
    List<DriverAccessory> getCar(Map<String,Object> map);


    List<DriverAccessory> getUserCars(Long uid);
    //oa司机的车查询
    List<DriverAccessory> getOADriverCar(Map<String,Object> map);
//用户司机的车辆
    int getCarCount(Long uid);
}